	format	ELF
	extrn	__bb_appstub_appstub
	extrn	__bb_blitz_blitz
	extrn	__bb_bmploader_bmploader
	extrn	__bb_d3d7max2d_d3d7max2d
	extrn	__bb_data_data
	extrn	__bb_directsoundaudio_directsoundaudio
	extrn	__bb_dxgraphics_dxgraphics
	extrn	__bb_eventqueue_eventqueue
	extrn	__bb_freeaudioaudio_freeaudioaudio
	extrn	__bb_freejoy_freejoy
	extrn	__bb_freeprocess_freeprocess
	extrn	__bb_freetypefont_freetypefont
	extrn	__bb_glew_glew
	extrn	__bb_glgraphics_glgraphics
	extrn	__bb_glmax2d_glmax2d
	extrn	__bb_gnet_gnet
	extrn	__bb_jpgloader_jpgloader
	extrn	__bb_macos_macos
	extrn	__bb_max2d_max2d
	extrn	__bb_maxlua_maxlua
	extrn	__bb_maxutil_maxutil
	extrn	__bb_oggloader_oggloader
	extrn	__bb_openalaudio_openalaudio
	extrn	__bb_pngloader_pngloader
	extrn	__bb_ramstream_ramstream
	extrn	__bb_reflection_reflection
	extrn	__bb_retro_retro
	extrn	__bb_tgaloader_tgaloader
	extrn	__bb_threads_threads
	extrn	__bb_timer_timer
	extrn	__bb_wavloader_wavloader
	extrn	__bb_win32_win32
	extrn	bbAppDir
	extrn	bbEmptyArray
	extrn	bbEmptyString
	extrn	bbEnd
	extrn	bbGCFree
	extrn	bbNullObject
	extrn	bbOnDebugEnterScope
	extrn	bbOnDebugEnterStm
	extrn	bbOnDebugLeaveScope
	extrn	bbStringClass
	extrn	bbStringCompare
	extrn	bbStringConcat
	extrn	bbStringFromInt
	extrn	bbStringSlice
	extrn	brl_filesystem_CloseFile
	extrn	brl_filesystem_CurrentDir
	extrn	brl_filesystem_LoadDir
	extrn	brl_filesystem_ReadFile
	extrn	brl_filesystem_WriteFile
	extrn	brl_standardio_Print
	extrn	brl_stream_ReadByte
	extrn	brl_stream_WriteLine
	public	_bb_main
	public	bb_makesvmtrain
	section	"code" executable
_bb_main:
	push	ebp
	mov	ebp,esp
	push	ebx
	cmp	dword [_42],0
	je	_43
	mov	eax,0
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_43:
	mov	dword [_42],1
	push	ebp
	push	_40
	call	dword [bbOnDebugEnterScope]
	add	esp,8
	call	__bb_blitz_blitz
	call	__bb_wavloader_wavloader
	call	__bb_glgraphics_glgraphics
	call	__bb_gnet_gnet
	call	__bb_freeaudioaudio_freeaudioaudio
	call	__bb_ramstream_ramstream
	call	__bb_reflection_reflection
	call	__bb_retro_retro
	call	__bb_timer_timer
	call	__bb_max2d_max2d
	call	__bb_threads_threads
	call	__bb_jpgloader_jpgloader
	call	__bb_maxutil_maxutil
	call	__bb_bmploader_bmploader
	call	__bb_d3d7max2d_d3d7max2d
	call	__bb_dxgraphics_dxgraphics
	call	__bb_maxlua_maxlua
	call	__bb_oggloader_oggloader
	call	__bb_openalaudio_openalaudio
	call	__bb_data_data
	call	__bb_glmax2d_glmax2d
	call	__bb_tgaloader_tgaloader
	call	__bb_directsoundaudio_directsoundaudio
	call	__bb_eventqueue_eventqueue
	call	__bb_appstub_appstub
	call	__bb_freetypefont_freetypefont
	call	__bb_pngloader_pngloader
	call	__bb_glew_glew
	call	__bb_win32_win32
	call	__bb_freejoy_freejoy
	call	__bb_macos_macos
	call	__bb_freeprocess_freeprocess
	push	_31
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	call	brl_filesystem_CurrentDir
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [bbAppDir]
	dec	dword [eax+4]
	jnz	_36
	push	eax
	call	bbGCFree
	add	esp,4
_36:
	mov	dword [bbAppDir],ebx
	push	_37
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_8
	push	_7
	push	dword [bbAppDir]
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bb_makesvmtrain
	add	esp,8
	push	_38
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_10
	push	_9
	push	dword [bbAppDir]
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bb_makesvmtrain
	add	esp,8
	push	_39
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	call	bbEnd
	mov	ebx,0
	jmp	_25
_25:
	call	dword [bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
bb_makesvmtrain:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],bbNullObject
	mov	dword [ebp-16],bbEmptyArray
	mov	dword [ebp-20],0
	mov	dword [ebp-24],bbEmptyString
	mov	dword [ebp-28],bbEmptyString
	mov	dword [ebp-32],bbNullObject
	mov	dword [ebp-36],bbEmptyString
	mov	dword [ebp-40],0
	mov	eax,ebp
	push	eax
	push	_82
	call	dword [bbOnDebugEnterScope]
	add	esp,8
	push	_44
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-12],eax
	push	_46
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	1
	push	dword [ebp-4]
	call	brl_filesystem_LoadDir
	add	esp,8
	mov	dword [ebp-16],eax
	push	_48
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],1
	push	_50
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],bbEmptyString
	mov	esi,dword [ebp-16]
	mov	eax,esi
	add	eax,24
	mov	ebx,eax
	mov	eax,ebx
	add	eax,dword [esi+16]
	mov	edi,eax
	jmp	_11
_13:
	mov	eax,dword [ebx]
	mov	dword [ebp-24],eax
	add	ebx,4
	cmp	dword [ebp-24],bbNullObject
	je	_11
	push	_56
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	ecx,10
	mov	eax,dword [ebp-20]
	cdq
	idiv	ecx
	mov	eax,edx
	cmp	eax,0
	jne	_57
	push	_58
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	push	dword [eax+20]
	call	bbStringFromInt
	add	esp,4
	push	eax
	push	_14
	push	dword [ebp-20]
	call	bbStringFromInt
	add	esp,4
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	brl_standardio_Print
	add	esp,4
_57:
	push	_59
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-20],1
	push	_60
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	3
	push	0
	push	dword [ebp-24]
	call	bbStringSlice
	add	esp,12
	mov	dword [ebp-28],eax
	push	_62
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	push	_15
	push	dword [ebp-4]
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	mov	dword [ebp-24],eax
	push	_63
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-32],eax
	push	_65
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],bbEmptyString
	push	_67
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_16
	push	dword [ebp-28]
	call	bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_68
	push	_69
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],_17
	jmp	_70
_68:
	push	_71
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_18
	push	dword [ebp-28]
	call	bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_72
	push	_73
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],_19
_72:
_70:
	push	_74
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	mov	dword [ebp-40],1
	jmp	_76
_22:
	push	_77
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_24
	push	dword [ebp-32]
	call	brl_stream_ReadByte
	add	esp,4
	push	eax
	call	bbStringFromInt
	add	esp,4
	push	eax
	push	_23
	push	dword [ebp-40]
	call	bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-36]
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	mov	dword [ebp-36],eax
_20:
	add	dword [ebp-40],1
_76:
	cmp	dword [ebp-40],1000
	jle	_22
_21:
	push	_78
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	sub	eax,1
	push	eax
	push	0
	push	dword [ebp-36]
	call	bbStringSlice
	add	esp,12
	mov	dword [ebp-36],eax
	push	_79
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	push	dword [ebp-12]
	call	brl_stream_WriteLine
	add	esp,8
	push	_80
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-32]
	call	brl_filesystem_CloseFile
	add	esp,4
_11:
	cmp	ebx,edi
	jne	_13
_12:
	push	_81
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	brl_filesystem_CloseFile
	add	esp,4
	mov	ebx,0
	jmp	_29
_29:
	call	dword [bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" writeable align 8
	align	4
_42:
	dd	0
_41:
	db	"generatesvmfiles",0
	align	4
_40:
	dd	1
	dd	_41
	dd	0
_32:
	db	"/home/spiglerg/Desktop/StandardModel/extract_c2/generatesvmfiles.bmx",0
	align	4
_31:
	dd	_32
	dd	2
	dd	1
	align	4
_37:
	dd	_32
	dd	5
	dd	1
	align	4
_8:
	dd	bbStringClass
	dd	2147483647
	dd	9
	dw	116,114,97,105,110,46,115,118,109
	align	4
_7:
	dd	bbStringClass
	dd	2147483647
	dd	9
	dw	47,99,50,47,116,114,97,105,110
	align	4
_38:
	dd	_32
	dd	6
	dd	1
	align	4
_10:
	dd	bbStringClass
	dd	2147483647
	dd	8
	dw	116,101,115,116,46,115,118,109
	align	4
_9:
	dd	bbStringClass
	dd	2147483647
	dd	8
	dw	47,99,50,47,116,101,115,116
	align	4
_39:
	dd	_32
	dd	8
	dd	1
_83:
	db	"makesvmtrain",0
_84:
	db	"in",0
_85:
	db	"$",0
_86:
	db	"out",0
_87:
	db	"o",0
_88:
	db	":brl.stream.TStream",0
_89:
	db	"f",0
_90:
	db	"[]$",0
_91:
	db	"count",0
_92:
	db	"i",0
_93:
	db	"posneg",0
_94:
	db	"file",0
_95:
	db	"str",0
_96:
	db	"j",0
	align	4
_82:
	dd	1
	dd	_83
	dd	2
	dd	_84
	dd	_85
	dd	-4
	dd	2
	dd	_86
	dd	_85
	dd	-8
	dd	2
	dd	_87
	dd	_88
	dd	-12
	dd	2
	dd	_89
	dd	_90
	dd	-16
	dd	2
	dd	_91
	dd	_92
	dd	-20
	dd	2
	dd	_92
	dd	_85
	dd	-24
	dd	2
	dd	_93
	dd	_85
	dd	-28
	dd	2
	dd	_94
	dd	_88
	dd	-32
	dd	2
	dd	_95
	dd	_85
	dd	-36
	dd	2
	dd	_96
	dd	_92
	dd	-40
	dd	0
	align	4
_44:
	dd	_32
	dd	13
	dd	3
	align	4
_46:
	dd	_32
	dd	16
	dd	3
	align	4
_48:
	dd	_32
	dd	19
	dd	3
	align	4
_50:
	dd	_32
	dd	21
	dd	3
	align	4
_56:
	dd	_32
	dd	22
	dd	5
	align	4
_58:
	dd	_32
	dd	22
	dd	28
	align	4
_14:
	dd	bbStringClass
	dd	2147483647
	dd	3
	dw	32,47,32
	align	4
_59:
	dd	_32
	dd	23
	dd	5
	align	4
_60:
	dd	_32
	dd	26
	dd	5
	align	4
_62:
	dd	_32
	dd	28
	dd	5
	align	4
_15:
	dd	bbStringClass
	dd	2147483647
	dd	1
	dw	47
	align	4
_63:
	dd	_32
	dd	30
	dd	5
	align	4
_65:
	dd	_32
	dd	33
	dd	5
	align	4
_67:
	dd	_32
	dd	34
	dd	5
	align	4
_16:
	dd	bbStringClass
	dd	2147483647
	dd	3
	dw	112,111,115
	align	4
_69:
	dd	_32
	dd	35
	dd	7
	align	4
_17:
	dd	bbStringClass
	dd	2147483647
	dd	3
	dw	43,49,32
	align	4
_71:
	dd	_32
	dd	36
	dd	5
	align	4
_18:
	dd	bbStringClass
	dd	2147483647
	dd	3
	dw	110,101,103
	align	4
_73:
	dd	_32
	dd	37
	dd	7
	align	4
_19:
	dd	bbStringClass
	dd	2147483647
	dd	3
	dw	45,49,32
	align	4
_74:
	dd	_32
	dd	40
	dd	5
	align	4
_77:
	dd	_32
	dd	41
	dd	7
	align	4
_24:
	dd	bbStringClass
	dd	2147483647
	dd	1
	dw	32
	align	4
_23:
	dd	bbStringClass
	dd	2147483647
	dd	1
	dw	58
	align	4
_78:
	dd	_32
	dd	44
	dd	5
	align	4
_79:
	dd	_32
	dd	47
	dd	5
	align	4
_80:
	dd	_32
	dd	50
	dd	5
	align	4
_81:
	dd	_32
	dd	54
	dd	3
